<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>{$web}-{$title}</title>
    <meta name="keywords" content="{$keywords}">
    <meta name="description" content="{$desc}">
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/main.css"/>
</head>
<body>
<include file="Base/head" />
<div class="container clearfix">
    <include file="Base/left" />
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list">
                <i class="icon-font"></i>
                <a href="index.html">首页</a>
                <span class="crumb-step">&gt;</span>
                <span class="crumb-name">文章管理</span>
            </div>
        </div>
        <div class="result-wrap">
            <form name="myform" id="myform" method="post" action="{:U('Article/sort')}">
                <div class="result-title">
                    <div class="result-list">
                        <a href="{:U('Article/plus')}"><i class="icon-font"></i>新增文章</a>
                        <!--<a id="batchDel" href="javascript:void(0)"><i class="icon-font"></i>批量删除</a>-->
                        <a><i class="icon-font"></i>
                            <input class="btn btn-primary btn2" value="更新排序" type="submit">
                        </a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th>排序</th>
                            <th>ID</th>
                            <th>标题</th>
                            <th>分类</th>
                            <th>发布人</th>
                            <th>更新时间</th>
                            <th>操作</th>
                        </tr>
                        <volist name="list" id="vo">
                            <tr>
                                <td>
                                    <!--<input name="ids[]" value="59" type="hidden">-->
                                    <input class="common-input sort-input" name="{$vo.id}" value="{$vo.sort}" type="text">
                                </td>
                                <td>{$vo['id']}</td>
                                <td>
                                    <a target="_blank" href="{:U('Article/edit',array('id'=>$vo['id']))}" title="{$vo['title']}">{$vo['title']}</a>
                                </td>
                                <td>{$vo['catename']}</td>
                                <td>{$vo['author']}</td>
                                <td>{$vo['time']}</td>
                                <td>
                                    <a class="link-update" href="{:U('Article/edit',array('id'=>$vo['id']))}">修改</a>
                                    <a class="link-del" href="{:U('Article/del',array('id'=>$vo['id']))}" onClick="return confirm('确定删除?');">删除</a>
                                </td>
                            </tr>
                        </volist>
                    </table>
                    <div class="list-page"> {$page} </div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>